package com.loser.base;

import config.RestInterceptor;
import config.TraceIdFilter;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class TraceConfig {

    @Bean
    public RestInterceptor restInterceptor() {
        return new RestInterceptor();
    }

    @Bean
    public TraceIdFilter traceIdFilter() {
        return new TraceIdFilter();
    }

}
